#!/bin/bash
export access_token="$(cat $Gitee_Repo/etc/access_token)"
export repo=$1
if [ -n "$1" ];then
{
    curl -X PUT --header 'Content-Type: application/json;charset=UTF-8' 'https://gitee.com/api/v5/user/starred/'$repo -d '{"access_token":"$access_token"}'
}
fi